package controller.listeners.menu;

import model.MenuModel;
import view.MainMenu;
import view.ViewUtils;

import org.eclipse.swt.events.SelectionEvent;
import org.eclipse.swt.events.SelectionListener;

public class ConfigurationListener extends MenuCommonListener implements SelectionListener {
	/**
	 * Inicializa el modelo y la vista
	 * @param _model
	 * @param _view
	 */
	public ConfigurationListener(MenuModel _model, MainMenu _view) {
		super(_model, _view);
		
	}

	@Override
	public void widgetDefaultSelected(SelectionEvent arg0) {}

	@Override
	public void widgetSelected(SelectionEvent arg0) {
		ViewUtils.getInstance().openConfigurationView();
	}

}
